﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Revis.VClinicNet.Util.Extensions
{
    public static class CharExtensions
    {
        public static bool IsOneOf(this char c, char[] chars)
        {
            bool result = false;
            foreach (char ch in chars) {
                if (ch == c) {
                    result = true;
                    break;
                }
            }
            return result;
        }
    }
}
